home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Code
/
Chapter Code.exe
/
Chapter08
/
rotatemoveavatar.S3D
< prev
next >
Wrap
Text File
|
2000-06-30
|
10KB
|
452 lines
Background {
color 0.8353 1 0.9569
}
DEF groundplane Transform {
translation 0 0 0
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.6667 0.9412 0.1922
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
defaultFlatShaded FALSE
coord DEF groundplane-COORD Coordinate {
point [
231 0 -231 -231 0 -231 -231 0 231 231 0 231
]
}
coordIndex [
2 3 0 -1 1 2 0 -1
]
textureMappings [
]
}
}
]
}
DEF vehicle Transform {
translation 0 5.841 161.5
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.9882 0.3569 0.4902
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF vehicle-COORD Coordinate {
point [
-12.53 0 19.76 12.53 0 19.76 0 0 -19.76 -12.53 11.94 19.76 12.53 11.94 19.76 0 11.94 -19.76
]
}
coordIndex [
2 1 0 -1 3 4 5 -1 0 1 4 -1 4 3 0 -1 1 2 5 -1 5 4 1 -1 2 0 3 -1 3 5 2 -1
]
smoothingIndex [
2 -1 3 -1 4 -1 4 -1 5 -1 5 -1 7 -1 7 -1
]
appearanceIndex [
1 0 4 4 3 3 2 2
]
textureMappings [
]
}
}
DEF Camera01 Viewpoint{
position -0.9639 27.98 108.8
orientation 0 0 0 0
fieldOfView 0.5745
description "Camera01"
}
]
}
DEF FDirect01-LIGHT DirectionalLight {
affectedGroups "#Root"
intensity 1
color 1 1 1
direction 0 -0.9239 -0.3827
on TRUE
}
DEF Box01 Transform {
translation -149.3 0 160.6
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.1922 0.6078 0.4471
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box01-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box02 Transform {
translation -149.3 0 86.84
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.3882 0.5294 0.1922
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box02-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box03 Transform {
translation -149.3 0 -2.386
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.1922 0.6078 0.4471
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box03-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box04 Transform {
translation -149.3 0 -83.91
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.3882 0.5294 0.1922
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box04-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box05 Transform {
translation -149.3 0 -160.7
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.1922 0.6078 0.4471
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box05-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box06 Transform {
translation 155.6 0 86.84
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.1922 0.6078 0.4471
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box06-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box07 Transform {
translation 155.6 0 -2.386
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.3882 0.5294 0.1922
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box07-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box08 Transform {
translation 155.6 0 -83.91
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.1922 0.6078 0.4471
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box08-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box09 Transform {
translation 155.6 0 -160.7
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.3882 0.5294 0.1922
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box09-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box10 Transform {
translation 155.6 0 160.6
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.3882 0.5294 0.1922
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box10-COORD Coordinate {
point [
-13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
-13.53 24.76 -10.94 13.53 24.76 -10.94
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}